{{extend './layout.html'}}

{{block 'head'}}
  <style>
    h1 {
      background-color: aqua;
    }
  </style>
{{/block}}

{{block 'content'}}
  <h1>我是index的页面</h1>
{{/block}}

{{block 'script'}}
  <script>
    alert('嘻嘻')
  </script>
{{/block}}